我有以下数组的字符串表示,从签名板生成:varmyData="[{lx:47,ly:28,mx:47,my:27},{lx:47,ly:32,mx:47,my:28},{lx:47,ly:40,mx:47,my:32},{lx:48,ly:50,mx:47,my:40},{lx:49,ly:59,mx:48,my:50},{lx:49,ly:66,mx:49,my:59},{lx:51,ly:72,mx:49,my:66},{lx:54,ly:76,mx:51,my:72},{lx:56,ly:76,mx:54,my:76},{lx:58,ly:76,mx:56,my:76},{lx:
我一直在学习Angular.js并使用了Parse作为后端服务。要将数据发布到ParseRESTfulAPI,您可以在请求的header中传递RESTAPIkey和AppID,如下所示:varconfig={headers:{"X-Parse-REST-API-Key":"someapikey","X-Parse-Application-Id":"someappid"}};$http.post("https://api.parse.com/1/classes/myobject",obj,config).success(function(data){console.log(data);}